<?php

namespace app\api\controller\ai;

use app\common\controller\BaseController;
use hg\apidoc\annotation as Apidoc;
use app\common\service\ai\PointPriceService;

/**
 * @Apidoc\Title("点数价格管理")
 * @Apidoc\Group("")
 * @Apidoc\Sort("300")
 */
class PointPrice extends BaseController {

    /**
     * @Apidoc\Title("列表")
     * @Apidoc\Returned("list", type="array", desc="列表", children={
     * @Apidoc\Returned(ref="app\common\model\ai\PointPriceModel", withoutField="sdc"),
     * })
     */
    public function getList() {
        $list = PointPriceService::getList($this->data);
        return success($list);
    }

}
